package zadanie8;

import java.util.Random;


public class Vector {
	
	int[] tab;
	
	Vector(int n) {
		
		tab = new int[n];
		Random random = new Random();
		
		for(int j=0; j<n; j++) {
			
			tab[j] = random.nextInt(5);
			
		}
		
		for(int i = 0; i<n; i++) {
			System.out.print(tab[i] + " ");
			
		}
		
		
	}
	
	Vector(int n, Boolean is) {
		
		tab = new int[n];
		
		
		for(int j=0; j<n; j++) {
			
			tab[j] = 0;
			
		}
		
		
		
		
	}
	
	public int[] getTab() {
		return tab;
	}
	
	
}
